package AlarmIRPSystem;

import org.omg.PortableServer.POA;

/**
 * Generated from IDL interface "AlarmIRP".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public class AlarmIRPPOATie
	extends AlarmIRPPOA
{
	private AlarmIRPOperations _delegate;

	private POA _poa;
	public AlarmIRPPOATie(AlarmIRPOperations delegate)
	{
		_delegate = delegate;
	}
	public AlarmIRPPOATie(AlarmIRPOperations delegate, POA poa)
	{
		_delegate = delegate;
		_poa = poa;
	}
	public AlarmIRPSystem.AlarmIRP _this()
	{
		return AlarmIRPSystem.AlarmIRPHelper.narrow(_this_object());
	}
	public AlarmIRPSystem.AlarmIRP _this(org.omg.CORBA.ORB orb)
	{
		return AlarmIRPSystem.AlarmIRPHelper.narrow(_this_object(orb));
	}
	public AlarmIRPOperations _delegate()
	{
		return _delegate;
	}
	public void _delegate(AlarmIRPOperations delegate)
	{
		_delegate = delegate;
	}
	public POA _default_POA()
	{
		if (_poa != null)
		{
			return _poa;
		}
		return super._default_POA();
	}
	public ManagedGenericIRPConstDefs.Method[] get_alarm_irp_operations_profile(java.lang.String alarm_irp_version) throws ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported,AlarmIRPSystem.GetAlarmIRPOperationsProfile
	{
		return _delegate.get_alarm_irp_operations_profile(alarm_irp_version);
	}

	public ManagedGenericIRPConstDefs.Signal comment_alarms(java.lang.String[] alarm_information_id_list, java.lang.String comment_user_id, ManagedGenericIRPConstDefs.StringOpt comment_system_id, java.lang.String comment_text, AlarmIRPConstDefs.BadAlarmInformationIdSeqHolder bad_alarm_information_id_list) throws ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported,AlarmIRPSystem.CommentAlarms,ManagedGenericIRPSystem.ParameterNotSupported
	{
		return _delegate.comment_alarms(alarm_information_id_list,comment_user_id,comment_system_id,comment_text,bad_alarm_information_id_list);
	}

	public java.lang.String[] get_alarm_irp_versions() throws AlarmIRPSystem.GetAlarmIRPVersions
	{
		return _delegate.get_alarm_irp_versions();
	}

	public ManagedGenericIRPConstDefs.Method[] get_alarm_irp_notification_profile(java.lang.String alarm_irp_version) throws ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported,AlarmIRPSystem.GetAlarmIRPNotificationProfile
	{
		return _delegate.get_alarm_irp_notification_profile(alarm_irp_version);
	}

	public CosNotification.StructuredEvent[] get_alarm_list(ManagedGenericIRPConstDefs.StringOpt filter, AlarmIRPConstDefs.DNOpt base_object, org.omg.CORBA.BooleanHolder flag, AlarmIRPSystem.AlarmInformationIteratorHolder iter) throws ManagedGenericIRPSystem.InvalidParameter,AlarmIRPSystem.GetAlarmList,ManagedGenericIRPSystem.ParameterNotSupported
	{
		return _delegate.get_alarm_list(filter,base_object,flag,iter);
	}

	public ManagedGenericIRPConstDefs.Signal clear_alarms(java.lang.String[] alarm_information_id_list, java.lang.String clear_user_id, ManagedGenericIRPConstDefs.StringOpt clear_system_id, AlarmIRPConstDefs.BadAlarmInformationIdSeqHolder bad_alarm_information_id_list) throws ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported,AlarmIRPSystem.ClearAlarms,ManagedGenericIRPSystem.ParameterNotSupported
	{
		return _delegate.clear_alarms(alarm_information_id_list,clear_user_id,clear_system_id,bad_alarm_information_id_list);
	}

	public void get_alarm_count(ManagedGenericIRPConstDefs.StringOpt filter, org.omg.CORBA.IntHolder critical_count, org.omg.CORBA.IntHolder major_count, org.omg.CORBA.IntHolder minor_count, org.omg.CORBA.IntHolder warning_count, org.omg.CORBA.IntHolder indeterminate_count, org.omg.CORBA.IntHolder cleared_count) throws ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported,AlarmIRPSystem.GetAlarmCount,ManagedGenericIRPSystem.ParameterNotSupported
	{
_delegate.get_alarm_count(filter,critical_count,major_count,minor_count,warning_count,indeterminate_count,cleared_count);
	}

	public ManagedGenericIRPConstDefs.Signal unacknowledge_alarms(java.lang.String[] alarm_information_id_list, java.lang.String ack_user_id, ManagedGenericIRPConstDefs.StringOpt ack_system_id, AlarmIRPConstDefs.BadAlarmInformationIdSeqHolder bad_alarm_information_id_list) throws ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported,AlarmIRPSystem.UnacknowledgeAlarms,ManagedGenericIRPSystem.ParameterNotSupported
	{
		return _delegate.unacknowledge_alarms(alarm_information_id_list,ack_user_id,ack_system_id,bad_alarm_information_id_list);
	}

	public ManagedGenericIRPConstDefs.Signal acknowledge_alarms(AlarmIRPConstDefs.AlarmInformationIdAndSev[] alarm_information_id_and_sev_list, java.lang.String ack_user_id, ManagedGenericIRPConstDefs.StringOpt ack_system_id, AlarmIRPConstDefs.BadAcknowledgeAlarmInfoSeqHolder bad_ack_alarm_info_list) throws ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.ParameterNotSupported,AlarmIRPSystem.AcknowledgeAlarms
	{
		return _delegate.acknowledge_alarms(alarm_information_id_and_sev_list,ack_user_id,ack_system_id,bad_ack_alarm_info_list);
	}

}
